package com.yuedou.api.entity.wxuser;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@TableName(value = "user_address")
public class UserAddress implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    /**
     *  地址类型 0 - 快递地址 1 - 同城配送地址
     */
    private Integer addressType;

    private String receiverName;

    private String phoneNum;

    private String zipCode;

    private String provCity;

    private String address;
    /**
     * 房屋编号
     */
    private String roomNo;

    private Integer isDefault;

    private Integer state;

    private BigDecimal lng;

    private BigDecimal lat;
}
